package StudyCode.summary.Basic.stringbuilder;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class StringBuilderFromString {
	public static void main(String[] args) {

		String src = "Hello World By Java";
		StringBuilder sb = new StringBuilder(src);
		System.out.println("反转前:" + sb);
		sb.reverse();
		System.out.println("反转后:" + sb);
	}
}
